import { createApp } from 'vue'
import App from './Vant-Demo1/App.vue'
import '@/Vant-Demo1/icon/iconfont.css'
import router from './Vant-Demo1/router/index.js'
// pinia
import { createPinia } from 'pinia'
const pinia = createPinia()


// vant   1. 引入你需要的组件 2. 引入组件样式
// import { Button } from 'vant';
import 'vant/lib/index.css';
import './Vant-Demo1//util/config';

const app = createApp(App)
app.use(router)   //注册路由插件
app.use(pinia)   //注册状态管理插件 pinia
// 3. 注册你需要的组件
// app.use(Button)
app.mount('#app')
